Pressing submit, will run a script that returns a reference to a local document.